﻿<%@ Page Title="Gerenciar receitas" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RelatorioReceitas.aspx.cs" Inherits="TCC_Hotel.Apresentacao.Gerencia.RelatorioReceitas" %>
    
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

  <script src="../../Scripts/Mascaras.js" type="text/javascript"></script>
  <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="0">
    </asp:ScriptManager>
    <p class="title-telas">
        Gerar relatório de receitas por período
    </p>
   <fieldset>
        <legend id="legend3" runat="server">
            <asp:Label ID="lblFieldSet1" runat="server" Text="Período"></asp:Label>
        </legend>
        <table style="width: 100%;">
            <tr>
                <td class="style4">
                    <asp:TextBox onkeyup="formataData(this,event);" ID="txtPeriodoInicial" runat="server"
                        Width="130px" MaxLength="10"></asp:TextBox>                                   
                    <asp:CalendarExtender ID="txtPeriodoInicial_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="txtPeriodoInicial" Format="dd/MM/yyyy">
                    </asp:CalendarExtender>
                    até
                    <asp:TextBox onkeyup="formataData(this,event);" ID="txtPeriodoFinal" runat="server"
                        Width="130px" MaxLength="10"></asp:TextBox>                                             
                    <asp:CalendarExtender ID="txtPeriodoFinal_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="txtPeriodoFinal" Format="dd/MM/yyyy">
                    </asp:CalendarExtender>
                </td>
               
            </tr>
        </table>
    </fieldset>
    <div align="left" style="width: 55%; float: left">
        <asp:Button ID="btnGerar" runat="server" Text="Gerar relatório" Width="100px" OnClick="btnGerar_Click" />     
    </div>
</asp:Content>
